<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>添加商品小类</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen" />
</head>
<body>
<!-- 顶栏 -->
<div th:replace="seller/topp"></div>
<!-- 中间主体 -->
<div class="container" id="content">
    <div class="row">
        <div th:replace="seller/menu::menu"></div>
        <div class="col-md-10">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="row">
                        <h1 style="text-align: center;">添加商品小类</h1>
                        <a th:text="${msg}"> ... </a><br/>
                    </div>
                </div>
                <div class="panel-body">
                    <form class="form-horizontal" role="form" action="productAdd" id="editfrom" method="post">
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">productID</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="inputPassword3" name="productid" placeholder="请输入小类ID">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label" name="grade">category</label>
                            <div class="col-sm-10">
                                <select class="form-control" name="category">
                                    <option value="BIRDS">BIRDS</option>
                                    <option value="FISH">FISH</option>
                                    <option value="CATS">CATS</option>
                                    <option value="DOGS">DOGS</option>
                                    <option value="REPTILES">REPTILES</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">name</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" name="name" placeholder="请输入商品小类名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">description</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" name="descn" placeholder="请输入商品小类描述">
                            </div>
                        </div>
                        <div class="form-group" style="text-align: center ">
                            <button type="submit">提交</button>
                            <button type="reset">重置</button>
                        </div>
                    </form>
                    </div>
                </div>
                <h4> 返回 <a href="viewShowProduct" th:text="商品小类展示页面"> a </a> </h4>
            </div>
        </div>
    </div>
</div>
</body>
</html>